home *** CD-ROM | disk | FTP | other *** search
- ; Shaders Script file
- ; Copyright (c) 2001-2003 Crytek Studios. All Rights Reserved.
- ; Author: Honich Andrey
-
- Version (1.00)
-
- //========================================================================
- // ATI R3xx / NVidia NV3X (PS.2.0 / PS.2.X only)
-
- // Specular & Diffuse bump-mapping with real-time env. CM reflections
- // and with specular exp. in alpha channel of gloss texture
- // At least two passes for multiple light sources
- // One pass for single light source
-
- // Supports:
- // 1. Dot3 light maps
- // 2. Simple light maps
- // 3. Three types of shadow maps (2D, Depth-maps and mixed Depth/2D)
- // 4. Stencil shadows
- // 5. Three types of light sources (Directional, Point/Omni, Projected)
- // 6. Optimised separate techniques for Single/Multiple light sources
-
- Shader 'TemplBumpSpec_EnvCMAmb_RT_PowerGlossAlpha_PS20'
- (
- Params
- (
- Sort = Opaque
- )
- Public
- (
- float 'ReflectAmount' (0.25)
- float 'SpecularExpMultiplier' (255)
- )
- RenderParams
- {
- DrawFarSprites
- DrawStaticObjects
- DrawParticles
- DrawEntities
- DrawIndoors
- DrawDetailTextures
- FullDetailTerrain
- DrawWater
- DrawTerrain
- }
-
- #define $ENVCMAP $CubeMap
- #include "BumpSpecular_EnvCM_PowerGlossAlpha_PS20.csi"
- #undefine $ENVCMAP
- )
-
-